TARGET = demo_kfifo
CC = gcc
CFLAGS += -Werror -Wall
CFLAGS += -I../
LDFLAGS += -lpthread
SRC += main.c
SRC += ../kfifo.c
all: $(TARGET)

$(TARGET): $(SRC)
	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)

.PHONIC: clean
clean:
	rm $(TARGET) *.o
